/* ===============================================
 * Smart Select style
 * ===============================================
 */
.smartselect {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.smartselect button,
.smartselect button:hover,
.smartselect button:active {
	outline: 0;
}

/* select button */
.smartselect > button {
  min-width: 100px;
}

.smartselect .ss-caret:hover, .smartselect .ss-icon:hover {
    color: red;
}

/* fix .caret.pull-right */
.smartselect .ss-caret.caret.pull-right {
  margin-top: 8px;
  margin-left: 5px;
}
.smartselect > button > .ss-caret {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}

/* hide different levels */
.smartselect .ss-hide.ss-hide-0,
.smartselect .ss-hide.ss-hide-1,
.smartselect .ss-hide.ss-hide-2,
.smartselect .ss-hide.ss-hide-3,
.smartselect .ss-hide.ss-hide-4,
.smartselect .ss-hide.ss-hide-5 {
	display: none;
}

/* levels indention */
.smartselect .ss-group > a,
.smartselect .data-level-1.ss-nogrp > a {
	padding-left: 30px;
}
.smartselect .data-level-1 > a,
.smartselect .data-level-2.ss-nogrp > a {
	padding-left: 50px;
}
.smartselect .data-level-2 > a,
.smartselect .data-level-3.ss-nogrp > a {
	padding-left: 70px;
}
.smartselect .data-level-3 > a,
.smartselect .data-level-4.ss-nogrp > a {
	padding-left: 90px;
}
.smartselect .data-level-4 > a,
.smartselect .data-level-5.ss-nogrp > a {
	padding-left: 110px;
}
.smartselect .data-level-5 > a {
	padding-left: 130px;
}

/* select button */
.smartselect .ss-select-label {
	font-size: 15px;
}

/* optgroup */
.smartselect .ss-group .ss-label {
    font-size: 15px;
    font-weight: 600;
}
/*
.smartselect .ss-toolbar button {
    margin-bottom: 0 !important;
    margin-top: -1px !important;
}
*/
/* folder open/collapse */
.smartselect .ss-folder {
	font-size: 14px;
	padding-left: 10px;
	padding-right: 10px;
  margin-left: 15px;
}
.smartselect .ss-folder:hover {
	color: red;
	cursor: pointer;
}
.smartselect .open .ss-folder.ss-open,
.smartselect .ss-folder.ss-close {
	display: inline;
}
.smartselect .open .ss-folder.ss-close,
.smartselect .ss-folder.ss-open {
	display: none;
}

/* checker */
.smartselect .ss-checker,
.smartselect .ss-checkno {
	width: 20px;
	padding-right: 6px;
	margin-left: -20px;
}

.smartselect .ss-checker,
.smartselect .active .ss-checkno {
  display: none;
}

.smartselect .active .ss-checker,
.smartselect .ss-checkno {
	display: inline;
}

/* toolbar */
.smartselect .ss-toolbar {
    position: absolute;
    z-index: 1100;
    top: 0;
    left: 100%;
    margin-left: 5px;
}

/* show toolbar at left */
.smartselect .ss-toolbar.left {
    left: auto;
    right: 100%;
    margin-right: 3px;
}

.smartselect .ss-label {
    cursor: default !important;
}

/* toolbar button icon */
.smartselect .ss-toolbar button {
    padding: 5px;
}

/* inputbox in toolbar */
.smartselect .ss-toolbar li > div {
    padding: 4px 20px 4px 20px;
}

/* alias */
.smartselect .ss-alias .ss-icon {
    margin-right: 10px;
}
.smartselect .ss-alias {
  position: relative;
}
.smartselect .ss-alias .ss-caret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.smartselect .ss-alias .ss-label {
    padding-right: 30px;
}

/*
 * disabled
 */
.smartselect .dropdown-menu > .disabled > a {
  background-color: transparent;
  text-decoration: line-through;
}

.smartselect .disabled .ss-checker {
  display: none;
}
